//
//  SJPersonalHeaderView.h
//  WSL
//
//  Created by CJ on 2017/12/4.
//  Copyright © 2017年 sanjuetech. All rights reserved.
//

#import <UIKit/UIKit.h>

@class SJUserInfoItem;
@class SJPersonalHeaderView;

@protocol SJPersonalHeaderViewDelegate <NSObject>
- (void)personalHeaderView:(SJPersonalHeaderView *)personalHeaderView didSelectItemAtIndex:(NSInteger)index;
@end

@interface SJPersonalHeaderView : UICollectionReusableView

@property (nonatomic, strong) SJUserInfoItem *userInfo;
@property (nonatomic, assign) BOOL isMe;
@property (strong, nonatomic) UIView *numberBar;

@property (nonatomic, copy) void(^avatarTap)(NSString *str);
@property (nonatomic, copy) void(^coverTap)(NSString *str);
@property (nonatomic, copy) void(^settingTap)(NSString *str);
@property (nonatomic, copy) void(^followTap)(UIButton *btn);
@property(nonatomic, weak) id<SJPersonalHeaderViewDelegate> delegate;

@end
